Skip to content

Conversation

@pjrobertson
Copy link
Contributor

Fixes #2593

This checks to see if the string is empty, if it is then it assigns a placeholder 'No infected files found' message so that the notify_admin_gui or rather the nextcloud_occ_no_check notification:generate -l "$2" "$admin" "$1" correctly runs

pjrobertson and others added 2 commits November 20, 2023 09:09
Fixes nextcloud#2593

Signed-off-by: Patrick Robertson <[email protected]>
Signed-off-by: Daniel Hansson <[email protected]>
@enoch85
Copy link
Member

enoch85 commented Nov 20, 2023

Thank you so much for the issue and the fix! Well done!

@enoch85 enoch85 merged commit 3e3e64e into nextcloud:master Nov 20, 2023
@pjrobertson pjrobertson deleted the patch-1 branch November 20, 2023 09:43
@pjrobertson
Copy link
Contributor Author

Thank you for maintaining this project! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clamav scan does not send notification when $INFECTED_FILES is empty

2 participants